// <copyright file="Exceptions.cs" company="Seditious Software">
// Seditious Software 2011, MIT Licenced (http://www.opensource.org/licenses/mit-license)
// </copyright>
// <author>Tristan McNab</author>
// <date>2011-03-05</date>
namespace Seditious.NETMF.MuDB
{
    using System;

    /// <summary>
    /// A custom exception for use with the database.
    /// </summary>
    [Serializable]
    public class DatabaseException : System.Exception
    {
        /// <summary>
        /// Initializes a new instance of the DatabaseException class.
        /// </summary>
        public DatabaseException() : base() 
        {
        }

        /// <summary>
        /// Initializes a new instance of the DatabaseException class.
        /// </summary>
        /// <param name="message">The error message to display</param>
        public DatabaseException(string message) : base(message) 
        {
        }
    }
}
